﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using ExaminationTT.Rule;

namespace ExaminationTT.View
{
    public partial class ConflitList : Form
    {
        private IEnumerable<IConflict> _conflits;
        public ConflitList()
        {
            _clm_ConflitInfo.DataPropertyName = "ConflitInfo";
            _clm_RuleName.DataPropertyName = "RuleName";
            InitializeComponent();
            InitializeComponent();
        }
        public IEnumerable<IConflict> ConflitListDataSource
        {
            get { return _conflits; }
            set
            {
                _conflits = value;
                _dgv_ConflitList.DataSource = value;
            }
        }
    }
}
